package ru.compft.common.dao.impl;

import org.hibernate.SessionFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;
import ru.compft.common.dao.DictionaryDao;
import ru.compft.common.data.Dictionary;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: VVasiliev
 * Date: 24.09.12
 * Time: 13:44
 * DAO работы со словарями
 */
@Repository
public class DictionaryDaoImpl implements DictionaryDao {
    private static final Logger logger = LoggerFactory.getLogger(DictionaryDaoImpl.class);

    @Resource(name = "sessionFactory")
    private SessionFactory sessionFactory;

    @Override
    public List<Dictionary> getAllDictionaries() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public List<Dictionary> getDictionaries(int from, int count) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public int countAllDictionaries() {
        return 0;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public Dictionary getDictionaryByCode(String code) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public Dictionary getDictionaryById(Long id) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
